package com.fingard.dsp.bank.reqrespobj.elecbillquery;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.dsp.bank.reqrespobj.elecbillquery.detail.ReqB013BillStateQryDetail;
import com.fingard.xml.XmlTextReader;

public class ReqB013BillStateQry extends RequestBase {
    public ReqB013BillStateQryDetail detail;
    private XmlTextReader xmlReader;

    public boolean readRecord() throws Exception {
        detail = null;
        if (xmlReader.read(PATH_Detail)) {
            detail = new ReqB013BillStateQryDetail(xmlReader.readedXElement);
            return true;
        } else {
            return false;
        }
    }

    public ReqB013BillStateQry(XmlTextReader p_xmlReader, ReqRespHeader p_header) {
        reqHeader = p_header;
        xmlReader = p_xmlReader;
    }
}
